package com.elm.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.elm.po.Business;

@Mapper
public interface BusinessMapper {

	List<Business> getBusinessByOrderTypeId(Integer orderTypeId);

	Business getBusinessById(Integer businessId);

	List<Business> getBusinessBySales(String string);

	List<Business> getBusinessByStar();

	List<Business> getAllReviewingBusiness();

	int updateReviewingBusinessInfo(Integer businessId, String status);

	int createBusiness(Business business);

	int updateBusiness(Business business);

	int updateBusinessStatus(Integer businessId, String business_status);

	

}
 